package org.biogroovy.samples;

import org.biogroovy.eutils.*;
import org.biogroovy.net.*;
import org.biogroovy.io.*;

def File genelist = new File( '/home/mfortner/scripts/biogroovy/genes.txt' );
genelist.eachLine(){it->

	Node root = EUtilsURLFactory.getXML(EUtilsURLFactory.EFETCH, [db:'gene', id:it, rettype:'xml']);

	String accession = root.Entrezgene_locus.Gene-commentary.Gene-commentary_products.Gene-commentary.Gene-commentary_type
}

